OBJS = tspi_demo_app.o
CC = $(CROSS_COMPILE)gcc
OUT_BIN = tspi_demo_app
DEP_FILE = .$@.d

all: $(OBJS)
	$(CC) $(LDFLAGS) -g -o $(OUT_BIN) $^

%.o: %.c
	$(CC) $(CFLAES) -Wp,-MD,$(DEP_FILE) -c -o $@ $<

clean:
	rm -rf *.o
	rm -rf $(OUT_BIN)
	rm -rf (shell find -name "*.d")
